<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div class="container">
    <div th:if="${not #lists.isEmpty(experiences)}">
        <h2>全部产品</h2>
        <table class="table table-striped">
            <tr>
                <th>Id</th>
                <th>留言</th>
                <th>产品名称</th>
            </tr>
            <tr th:each="experience : ${experiences}">
                <td th:text="${experience.id}">Id</td>
                <td th:text="${experience.content}">留言</td>
                <td th:text="${experience.name}">产品名称</td>
                <td><a th:href="${'/experiences/experiences/' + experience.id}" class="btn btn-default">编辑</a></td>
                <td><a th:href="${'/experiences/delete/' + experience.id}" class="btn btn-danger">删除</a></td>
            </tr>
        </table>
    </div>
</div>

</body>
</html>